<template>
  <div class="departments-container">
    <div class="app-container">
      <!-- 带阴影的卡片 -->
      <el-card>
        <!--
           布局:
           el-row: 行
           el-col: 列

           一般的布局手法:
           行里面放列, 默认一行最多可以分成24份

           默认的排版布局是: 浮动布局
          -->
        <el-row style="margin-bottom:15px;">
          <el-col :span="24" style="background-color: red;">111</el-col>
        </el-row>
        <el-row style="margin-bottom:15px;">
          <el-col :span="12" style="background-color: red;">111</el-col>
          <el-col :span="12" style="background-color: green;">222</el-col>
        </el-row>
        <el-row style="margin-bottom:15px;">
          <el-col :span="12" style="background-color: red;">111</el-col>
          <el-col :span="6" style="background-color: green;">222</el-col>
          <el-col :span="8" style="background-color: green;">333</el-col>
        </el-row>
      </el-card>
    </div>
  </div>
</template>

<script>
export default {
  name: 'Departments'
}
</script>

<style>

</style>
